package com.usian.entity.day4;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @Author sjt
 * @Date 2023/7/28 15:56
 * @PackageName: cn.jiyun.entity.day4.Teacher
 */
@TableName("t_teacher")
@Data
public class Teacher {
    @TableId(value = "tid",type = IdType.AUTO)
    private Integer tid;
    private String tname;
    @TableField("tid_code")
    private String tidCode;
    private String password;
}
